package cn.sherer.beans.douyin.yun;

import java.io.Serializable;

/**
 * 抖音云媒资视频信息
 * @author Sherer
 */
public class DyYunOpenVideoInfo implements Serializable {
    private String vid;
    private String video_name;
    private long size;
    private long upload_time;
    private int business_status;
    private int trans_code_status;
    private int source_type;
    private String video_open_id;

    /** 审核状态：审核中 */
    public static final int BUSINESS_STATUS_PROCESSING = 98;
    /** 审核状态：未审核 */
    public static final int BUSINESS_STATUS_UNAUDIT = 99;

    /** 转码的状态：未转码 */
    public static final int TRANS_CODE_STATUS_UNCODE = 1;
    /** 转码的状态：转码中 */
    public static final int TRANS_CODE_STATUS_CODING = 2;
    /** 转码的状态：转码失败 */
    public static final int TRANS_CODE_STATUS_FAIL = 3;
    /** 转码的状态：转码成功 */
    public static final int TRANS_CODE_STATUS_SUCCESS = 4;

    /** 视频的来源：控制台上传 */
    public static final int SOURCE_TYPE_ADMIN = 1;
    /** 视频的来源：抖音云 openApi 上传 */
    public static final int SOURCE_TYPE_API = 2;
    /** 视频的来源：行业侧同步 */
    public static final int SOURCE_TYPE_SYNC = 3;

    public DyYunOpenVideoInfo() {
    }

    public DyYunOpenVideoInfo(String vid, String video_name, long size, long upload_time, int business_status, int trans_code_status, int source_type, String video_open_id) {
        this.vid = vid;
        this.video_name = video_name;
        this.size = size;
        this.upload_time = upload_time;
        this.business_status = business_status;
        this.trans_code_status = trans_code_status;
        this.source_type = source_type;
        this.video_open_id = video_open_id;
    }

    public String getVid() {
        return vid;
    }

    public void setVid(String vid) {
        this.vid = vid;
    }

    public String getVideo_name() {
        return video_name;
    }

    public void setVideo_name(String video_name) {
        this.video_name = video_name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public long getUpload_time() {
        return upload_time;
    }

    public void setUpload_time(long upload_time) {
        this.upload_time = upload_time;
    }

    public int getBusiness_status() {
        return business_status;
    }

    public void setBusiness_status(int business_status) {
        this.business_status = business_status;
    }

    public int getTrans_code_status() {
        return trans_code_status;
    }

    public void setTrans_code_status(int trans_code_status) {
        this.trans_code_status = trans_code_status;
    }

    public int getSource_type() {
        return source_type;
    }

    public void setSource_type(int source_type) {
        this.source_type = source_type;
    }

    public String getVideo_open_id() {
        return video_open_id;
    }

    public void setVideo_open_id(String video_open_id) {
        this.video_open_id = video_open_id;
    }

    @Override
    public String toString() {
        return "DyYunOpenVideoInfo{" + "vid=" + vid + ", video_name=" + video_name + ", size=" + size + ", upload_time=" + upload_time + ", business_status=" + business_status + ", trans_code_status=" + trans_code_status + ", source_type=" + source_type + ", video_open_id=" + video_open_id + '}';
    }
}
